//
//  AppDelegate.h
//  iOSGameDev
//
//  Created by XuLiang on 16/2/22.
//  Copyright © 2016年 XuLiang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RootViewController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>{
    id timer; //OS < 3.1 instanceOf NSTimer else instanceOf CADisplayLink
}

@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) RootViewController* rootviewController;

- (void) startGameLoop;
- (void) stopGameLoop;
- (void) loop;


@end

